import request from '@/utils/request'

// 推广码选择列表
export function getTicketSelectList(query) {
  return request({
      url: '/admin/wxMpQrTicket/select/list',
      method: 'get',
      params: query
  });
}
//列表
export function getTicketList(query) {
  return request({
    url: '/admin/wxMpQrTicket/plat/list',
    method: 'get',
    params: query
  })
}
//新增
export function ticketAdd(data) {
  return request({
    url: '/admin/wxMpQrTicket/plat/qrcode',
    method: 'post',
    data: data
  })
}